package com.zqw.pojo;

import java.util.List;

//管理员实体类
public class AdminPojo {

    private Integer aid;
    private String aname;
    private String account;
    private String apass;
    private String aphone;
    private String aemail;
    private Integer astatus;
    private List<RolePojo> roles;

    @Override
    public String toString() {
        return "AdminPojo{" +
                "aid=" + aid +
                ", aname='" + aname + '\'' +
                ", account='" + account + '\'' +
                ", apass='" + apass + '\'' +
                ", aphone='" + aphone + '\'' +
                ", aemail='" + aemail + '\'' +
                ", astatus=" + astatus +
                ", roles=" + roles +
                '}';
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getApass() {
        return apass;
    }

    public void setApass(String apass) {
        this.apass = apass;
    }

    public String getAphone() {
        return aphone;
    }

    public void setAphone(String aphone) {
        this.aphone = aphone;
    }

    public String getAemail() {
        return aemail;
    }

    public void setAemail(String aemail) {
        this.aemail = aemail;
    }

    public Integer getAstatus() {
        return astatus;
    }

    public void setAstatus(Integer astatus) {
        this.astatus = astatus;
    }

    public List<RolePojo> getRoles() {
        return roles;
    }

    public void setRoles(List<RolePojo> roles) {
        this.roles = roles;
    }
}
